Purpose |
Create Material/item and Price extract programs especially for Japan |
Requested By |
Craig Spangler |
Spec Created By |
Deepak Yasam |
Spec Created Date |
10/06/2014 |
Spec QA by |
Deepak Yasam |
Objects |
ZSD_JPN_PRICE_EXTRACT ZSD_JPN_ITEM_EXTRACT |
Document Status |
Complete |
Sl.No |
Activity |
Estimation in Hours |
1 |
Research |
00 |
2 |
Documentation |
04 |
3 |
Development/ Config |
20 |
4 |
Unit test in DEV |
04 |
5 |
Unit test in QUA |
04 |
6 |
Other activity |
|
TOTAL |
32 |
Sl. |
Change Details |
Requested By |
Requested On |
Notes if any |
1 |
To include the product attribute 5(Retail) flagged materials in both the programs and to add the PH3 values in the Item extract file in column 1 |
Craig Spangler |
10/08/2014 |
N/A |
2 |
To display the content of the item extract file that is uploaded to the application server |
Craig Spangler |
10/17/2014 |
N/A |
3 |
Include file name generation in the program |
Craig Spangler |
12/12/2014 |
N/A |
4 |
Include file name for POS extracts with time stamp |
Craig Spangler |
12/18/2014 |
N/A |
5 |
Prefix "01" to the file name e.g. ITEM0120150114142010.txt |
Craig Spangler |
01/14/2015 |
N/A |
6 |
Add CR LF unicode to the Item and Price Extracts |
Craig Spangler |
01/19/2015 |
N/A |
Test ID |
Test Scenario |
Expected Results |
SD-001 |
Execute ZSD_JPN_PRICE_EXTRACT program with 3200 sales org,0610 palnt as inputs.Download the file to the desktop and application server by maintaining the desired file path or location. |
The price extract file should be downloaded to both application and presentation servers with the desired values.Only the materials with product attribute 5 ie., reatil flagged are considered in the file. |
SD-002 |
Execute ZSD_JPN_ITEM_EXTRACT program with 3200 sales org,0610 palnt as inputs.Download the file to the desktop and application server by maintaining the desired file path or location. |
The Item extract file should be downloaded to both application and presentation servers with the desired values.Only the materials with product attribute 5 ie., reatil flagged are considered in the file. |
Test ID |
Test Scenario |
Expected Results |
SD-001 |
Execute ZSD_JPN_ITEM_EXTRACT program with sales org 3200 , plant 0610 and directory in the application server as inputs (/usr/sap/NED/RETAIL/Japan/IN/Itemextract.txt). . |
The Item extract file should be uploaded into the specified application server directory and display the contents in the file. |
SD-002 |
Execute ZSD_JPN_ITEM_EXTRACT program with sales org 3200 , plant 0610 directory in the application server (/usr/sap/NED/RETAIL/Japan/IN/Itemextract2.txt) and front end file path,file name as inputs. |
1.The Item extract file should be uploaded into the specified application server directory with the contents in the file. 2.Download the file to front end with the specified file name and display the contents in the file. |
SD-003 |
Execute ZSD_JPN_ITEM_EXTRACT program with sales org 3200 , plant 0610 and front end file path,file name as inputs. |
The Item extract file should be download to front end with the specified file name and display the contents in the file. |
SD-004 |
Execute ZSD_JPN_ITEM_EXTRACT program with sales org 3200 , plant 0610 and wrong directory in the application server as inputs (/usr/sap/NEDRETAIL/Japan/IN/Itemextract.txt). |
An error log should be dispalyed saying wrong file path. |
SD-005 |
Execute ZSD_JPN_ITEM_EXTRACT program with sales org 3200 , plant 0610 directory in the application server as inputs (/usr/sap/NED/RETAIL/Japan/IN/ItemextractBJ.txt) in background |
The Item extract file should be uploaded into the specified application server directory and display the contents in the file. |
Test ID |
Test Scenario |
Expected Results |
SD-001 |
Execute ZSD_JPN_PRICE_EXTRACT program with sales org 3200 , plant 0610 and directory in the application server as inputs (/usr/sap/NED/RETAIL/Japan/IN/Priceextract.txt). . |
The Price extract fileshould be uploaded into the specified application server directory and display the contents in the file. |
SD-002 |
Execute ZSD_JPN_PRICE_EXTRACT program with sales org 3200 , plant 0610 directory in the application server (/usr/sap/NED/RETAIL/Japan/IN/Priceextract2.txt) and front end file path,file name as inputs. |
1.The Price extract fileshould be uploaded into the specified application server directory with the contents in the file. 2.Download the file to front end with the specified file name and display the contents in the file. |
SD-003 |
Execute ZSD_JPN_PRICE_EXTRACT program with sales org 3200 , plant 0610 and front end file path,file name as inputs. |
The Price extract fileshould be download to front end with the specified file name and display the contents in the file. |
SD-004 |
Execute ZSD_JPN_PRICE_EXTRACT program with sales org 3200 , plant 0610 and wrong directory in the application server as inputs (/usr/sap/NEDRETAIL/Japan/IN/Priceextract.txt). |
An error log should be dispalyed saying wrong file path. |
SD-005 |
Execute ZSD_JPN_PRICE_EXTRACT program with sales org 3200 , plant 0610 directory in the application server as inputs (/usr/sap/NED/RETAIL/Japan/IN/PriceextractBJ.txt) in background. |
The Price extract fileshould be uploaded into the specified application server directory and display the contents in the file. |
Test ID |
Test Scenario |
Expected Results |
SD-001 |
Execute the program ZSD_JPN_ITEM_EXTRACT in background with the following inputs- Sales Org - 3200 Plant - 0610 Directory - /tmp/ |
The file should be saved in the directory with the time stamp as text file |
SD-002 |
Execute the program ZSD_JPN_PRICE_EXTRACT in background with the following inputs- Sales Org - 3200 Plant - 0610 Directory - /tmp/ |
The file should be saved in the directory with the time stamp as text file |
SD-003 |
Run the programs again in background |
Two separate files should be saved on the application server in the specified directory |
Test ID |
Test Scenario |
Expected Results |
SD-001 |
Execute the program ZSD_JPN_ITEM_EXTRACT in background with the following inputs- Sales Org - 3200 Plant - 0610 Directory - /tmp/ |
The file should be saved in the directory with the prefix 01 in the file name |
SD-002 |
Execute the program ZSD_JPN_PRICE_EXTRACT in background with the following inputs- Sales Org - 3200 Plant - 0610 Directory - /tmp/ |
The file should be saved in the directory with the prefix 01 in the file name |
Test ID |
Test Scenario |
Expected Results |
SD-001 |
Execute the program ZSD_JPN_ITEM_EXTRACT in background with the following inputs- Sales Org - 3200 Plant - 0610 Directory - /tmp/ |
The file should be saved in the directory and the extract when opened in Notepad ++ should display CR and LF |
SD-002 |
Execute the program ZSD_JPN_PRICE_EXTRACT in background with the following inputs- Sales Org - 3200 Plant - 0610 Directory - /tmp/ |
The file should be saved in the directory and the extract when opened in Notepad ++ should display CR and LF |
SD-003 |
Run the programs again in background |
The file should be saved in the directory and the extract when opened in Notepad ++ should display CR and LF |